package com.dongdongshop.config;

import com.dongdongshop.convertor.DateConvertor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    /**
     * 日期转换器
     */
    @Bean
    public DateConvertor getDateConvertor(){
        return new DateConvertor();
    }
}
